/*Ridefinisco stile generale*/

html,body {
	font-family: arial, helvetica, sans-serif;
	font-size: 90%;
	color: black;
	background-color: white;
}

#content-body{
	position:relative;
	min-height:100px;
}

#container{
	width:100%;
}

#header{
	position:static;
	background-color: white;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

#header img{
	position:static;
	width:100px;
	padding:5px;
}

#header h1{
	margin:0;
}

#access{
	position:static;
	padding:10px;
}

#access p{
	color:black;
	font-weight:bold;
	margin:5px;
}

#breadcrumb {
	border-bottom-right-radius:0;
	border-bottom-left-radius: 0;
	background-color: white;
	padding-left:10px;
	padding-bottom:1px;
	border-top-style:solid;
	border-top-color:#DE1B20;
	margin-bottom:10px;
}

#content{
	min-height:0;
	background-color: white;
	background-image:none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	padding:10px;
}

#screenshot{
	position:absolute;
	width:1px;
	height:1px;
	left:-1000px;
}

#screenshot img{
	width:0;
}

#content-title p{
	font-weight:bold;
	font-size:1.4em;
	max-width: 100%;
}


#content-title h2{
    font-size: 1.5em;
    padding: 10px 5px;
    margin: 0;
    font-family: "georgia,serif";
    font-style: italic;
}

#content-title h2 span{
	display: block;
	padding:5px 0;
	font-size: 1.8em;
	font-family: "georgia,serif";
   	font-style: normal;
}

#footer{
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	background-color: #FC6900;
	padding:10px;
}

#searchbar{
	float: none;
	display:inline;
	margin:5px;
}

#button{
	position: static;
	width:200px;
}

img{
	border:none;
}

.error-message{
	color:red;
	font-weight:bold;
}

a.big{
	font-size:1.2em;
}

a.download-sake{
	background: url(../images/indexbutton3.png) 0 0 no-repeat;
	min-width:200px;
	display: block;
	margin: 0 0 10px 50px;
	height: 95px;
	border-radius: 5px;
	overflow: visible;
}

a.download-sake span.download-content{
	position: static;
	margin-left: -30px;
	display: block;
	background: url(../images/sakelogo.png) 0 0 no-repeat;
	height: 95px;
	font-family: georgia, serif;
	font-style: italic;
	font-weight: normal;
	font-size: 1.3em;
	line-height: 1.3em;
	padding: 10px 10px 0 112px;
}

a.download-sake
span.download-content
span.download-title{
    font-style: normal;
    font-size: 1.6em;
    display:block;
}

span.person{
	font-weight: bold;
	font-style: italic;
}

.hidden-legend
{
	position:absolute;
	height:0px;
	overflow:hidden;
}

a.hidden{
	position:static;
	height:auto;
	overflow:visible;
}

span.alt-logo{
	position:absolute;
	height:0px;
	overflow:hidden;
}

.dir li a{
	display:block;
}

p.to-top{
	text-align:right;
	padding-right:5%;
}

a.to-menu{
	position:static;
	height:auto;
	overflow:visible;
}

h1 {
	font-size: 2em;
	font-style: italic;
	text-align: left;
	letter-spacing: 0.5em;
}

h2 {
	color: white;
	background-color: #DE1B20;
	font-size: 1.5em;
	border-radius: 0;
	padding-left:10px;
}

h3 {
	color: #DE1B20;
	font-size: 1.25em;
}

/*stile per il navigator mobile*/

#nav{
	min-height:35px;
	margin-bottom:10px;
}

#nav li{
	padding:10px;
}

#nav li a{
	display:block;
}

li.dir ul li{
	width:auto;
	border-color:#DE1B20;
}

ul.dropdown li:hover{
	background-color:#FBDE05;
}

li.dir ul li:hover{
	width:auto;
	border-color:#DE1B20;
}

ul.dropdown,
ul.dropdown li,
ul.dropdown ul {
	list-style: none;
	margin: 0;
	padding: 2px;
	font-weight: bold;
	border-color:#DE1B20;
}

ul.dropdown {
	position: static;
	list-style-type:disc;
	z-index: auto;
	float: none;
	border-radius: 0;
}

ul.dropdown li {
	float: none;
	min-height: 1px;
	line-height: 1em;
	vertical-align: baseline;
	border-style:solid;
	margin:2px;
}

ul.dropdown li.hover,
ul.dropdown li:hover {
	position: static;
	z-index: auto;
}

ul.dropdown ul {
	position:static;
	left:auto;
	top:auto;
	width:auto;
	height:auto;
}

ul.dropdown ul li {
	float: none;
}

ul.dropdown ul ul {
	top: auto;
	left: auto;
}

ul.dropdown li:hover > ul {
	position: static;
	top: auto;
	left: auto;
	z-index: auto;
	width: auto;
}

ul.dropdown li.dir:hover{
	background-color:white;
}

/*stile per news mobile*/

#newsmenu{
	margin:5px;
	padding:5px;
	font-weight:bold;
	background-color:#FFC1C1;
	width:90px;
	border-radius: 0;
}

#news p.newscontent{
	font-size:1.2em;
}

div.newsitem{
	margin:5px;
	border-style:solid;
	border-radius: 0;
	border-width:2px;
	padding:5px;
	border-color:#DE1B20;
}

/*Stile legal*/
#list-legal{
	margin:5px;
	padding:5px;
	font-weight:bold;
	background-color:#FFC1C1;
	width: 90%;
	max-width: 300px;
	min-width: 150px;
	border-radius: 0;
}

/*stile per insertalgorithms mobile*/

#content-insert{
	margin:10px;
	border-style:solid;
	border-radius: 0;
	border-width:2px;
	padding:5px;
	border-color:#DE1B20;
}

#content-insert textarea{
	width:100%;
}

#content-insert form fieldset{
	border:0;
}

/*stile per features mobile*/

#list-features{
	margin:5px;
	padding:5px;
	font-weight:bold;
	background-color:#FFC1C1;
	width: 90%;
	max-width: 350px;
	min-width:200px;
	border-radius: 0;
}

/*stile per faq*/

#list-faq{
	margin:5px;
	padding:5px;
	font-weight:bold;
	background-color:#FFC1C1;
	width: 90%;
	max-width: 300px;
	min-width: 150px;
	border-radius: 0;
}

#content-faq div.category{
	border-style: solid;
	border-color: #de1b20;
	border-radius: 0;
	padding-bottom:10px;
	padding-left: 10px;
	margin-top: 10px;
}

/*stile per download mobile*/

table{
	margin:1%;
	border-collapse:collapse;
}

table, td, th{
	border:1px solid black;
}

thead{
	background-color:#FF7373;
}

th{
	width:20%;
}

td{
	text-align:center;
}

/*stile per aboutus mobile*/
#list-aboutus{
	margin:5px;
	padding:5px;
	font-weight:bold;
	background-color:#FFC1C1;
	width: 90%;
	max-width: 250px;
	min-width: 150px;
	border-radius: 0;
}

img.planpray{
	width:75%;
	max-width:250px;
}

img.littlelogo{
	float:right;
}

div.person img{
	max-width:100px;
}

#people{
	position:static;
	height:auto;
	width:auto;
}

div.person{
	min-width:200px;
	max-width:100%;
	position:static;
	top:auto;
	left:auto;
}

#people p, h4{
	font-style:normal;
}

#people a{
	font-style:normal;
}

/*stile per aboutsake mobile*/
#list-aboutsake{
	margin:5px;
	padding:5px;
	font-weight:bold;
	background-color:#FFC1C1;
	width: 90%;
	max-width: 250px;
	min-width: 150px;
	border-radius:0;
}

/*stile per aboutcontributors mobile*/
#list-aboutcontributors{
	margin:5px;
	padding:5px;
	font-weight:bold;
	background-color:#FFC1C1;
	width: 90%;
	max-width: 250px;
	min-width: 150px;
	border-radius: 0;
}

li img.unipd{
	width:75%;
	max-width:200px;
}

li img.kings_college{
	width:50%;
	max-width:200px;
}

/*stile per algorithms mobile*/
#content-algorithm, #content-rating{
	margin:5px;
	border-style:solid;
	border-radius: 0;
	border-width:2px;
	padding-left:10px;
	padding-right:10px;
	border-color:#DE1B20;
}
div.content-comment{
	margin:5px;
	border-style:solid;
	border-radius: 0;
	border-width:2px;
	border-color:#DE1B20;
}

pre {
	font-size: 1.2em;
	background-color: Gainsboro;
	overflow: auto;
	max-height:300px;
	}

p.message{
	font-size: 1.2em;
	padding-left: 10px;
	padding-right: 10px;
}
.comment-info{
	padding-top: 0px;
	margin-top: 0px;
	margin-bottom: 5px;
	background:black;
	font-weight: bold;
	color: white;
	border: solid black;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.comment-info h5{
	font-size:1em;
	margin-top:0;
	margin-bottom: 0;
}


#content-algorithm p{
	margin-top: 0;
}

#content-algorithm h4{
	margin-bottom:0;
}

#insert-comment textarea{
	width:99%;
	height:60px;
}

.content-notes h4{
	margin-bottom: 0;
}

/*Stile help*/
ul.list-help{
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0 0 10px 0;
    border-style: solid;
    border-color: #de1b20;
    border-radius: 0;
}

ul.list-help li h3{
   	padding-top: 0px;
	margin-top: 0px;
	margin-bottom: 5px;
	background:black;
	font-weight: bold;
	color: white;
	border: solid black;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

ul.list-help li ul{
    list-style: none;
    font-size: 1.2em;
}


/*stile per forum mobile*/

div.content-categories,
#content-algorithms{
	border-style: solid;
	border-color: #de1b20;
	padding-bottom:10px;
	margin-top: 10px;
	border-radius: 0;
}

div.content-categories a,
#content-algorithms a{
	font-size: 1.2em;
}


div.content-categories h3,
#content-algorithms h3{
	padding-top: 0px;
	margin-top: 0px;
	margin-bottom: 5px;
	background:black;
	font-weight: bold;
	color: white;
	border: solid black;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

#content-algorithms h4{
	margin-top:0;
}

dl.content-item{
	padding-top: 0px;
	margin-top: 0px;
	margin-bottom: 5px;
	
}

dl.content-item dd.item-description{
	display:block;
	position: relative;
	margin-left: 10px;
	width:54%;	
}

dl.content-item dd.item-description h4{
	margin-bottom:0;
}

dl.content-item dd.item-pos1{
	display:inline;
	margin-left:10px;
}
dl.content-item dd.item-pos2{
	display:inline;
	margin-left:10px;
}

dl.content-item a{
	font-size: 1.5em;
	font-weight: bold;
}


.result{
    list-style: none;
    margin: 10px 0 0 0;
    border-style: solid;
    border-color: #de1b20;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    border-radius: 0;
}



.result li h3{
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: bold;
}

.result li span{
    font-style: italic;
    display: inline;
}

.matched{
    background-color: yellow;
}

/*Stile admin news*/

#newContent{
width:70%;
}

#del_news{
	width:70%;
}

#newTitle{
	width:70%;
}

/*Stile admin faq*/

#new_question{
	width:70%;
}

#new_answer{
	width:70%;
}

#quest_list_edit{
	width:70%;
}

#edit_question{
	width:70%;
}

#edit_answer{
	width:70%;
}

#que_list_de{
	width:70%;
}

/*Stile admin forum*/

#cat_list{
	width:70%;
}

#sub_cat{
	width:70%;
}

#subcategoryDescr{
	width:70%;
}

#subcat_list_del{
	width:70%;
}
